﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace antyspam_filter
{
    public class EmailServer
    {
        private string _address;
        private string _ip;

        public string Address
        {
            get
            {
                return this._address;
            }
        }
        public string Ip
        {
            get
            {
                return this._ip;
            }
        }

        public EmailServer(string address, string ip)
        {
            this._address = address;
            this._ip = ip;
        }

        public override string ToString()
        {
            return this._address + " " + this._ip;
        }
    }
}
